package com.ctgu.simplespringboot.dao;

import com.ctgu.simplespringboot.Entity.User;
import org.apache.ibatis.annotations.Param;

public interface UserDao {

    //保存用户方法
    void save(User user);

    //登录
    User findByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

}
